import Vue from 'vue'
import VueRouter from 'vue-router'
import VueResource from 'vue-resource'
import './lib/mui/css/mui.min.css'
import './lib/mui/css/icons-extra.css'
import './lib/mui/fonts/mui.ttf'
import './lib/mui/fonts/mui-icons-extra.ttf'
import { Header ,Swipe, SwipeItem} from 'mint-ui'
import 'mint-ui/lib/style.css'
import app from './App.vue'



Vue.use(VueRouter)
Vue.use(VueResource)

import router from './router.js'

Vue.component(Header.name, Header);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);

var vm = new Vue({
    el:'#app',
    render: c => c(app),
    router


})